package com.chinasoft.class6.group1;

import com.chinasoft.main.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class LiuZhanFan implements TrueWord{
    List<String> wordList = new ArrayList<>();
    Random random = new Random();

    public LiuZhanFan(){
        wordList.add("邱神牛逼");
        wordList.add("中午吃什么 ！");
        wordList.add("下午没空！");
    }

    public String getWord() {
        int index = random.nextInt(wordList.size());
        return wordList.get( index);
    }

    public String getName() {
        return "刘展帆";
    }

}

